package com.mszlu.blog.service;

import com.mszlu.blog.dao.pojo.Comment;
import com.mszlu.blog.vo.Result;
import com.mszlu.blog.vo.params.CommentParam;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: lfw
 * @Date: 2022/03/25/20:27
 * @Description:
 */
public interface CommentsService {
    /**
     * 根据文章id查询所有的评论列表
     * @param articleId
     * @return
     */
    Result commentsByArticleId(Long articleId);
    /**
     * 文章评论
     * @param commentParam
     * @return
     */
    Result comment(CommentParam commentParam);
}
